Second-difference temporal smoothing penalty
make_temporal_penalty.RdBuilds a T x T penalty matrix I + lambda_t * D2' D2 where D2 is the
second-difference operator. Promotes smoothness in time while keeping the
metric positive definite.
See also
Other temporal metrics:
build_temporal_metric(),
build_temporal_metric_parcel(),
estimate_ar_whitener(),
estimate_ar_whitener_parcel(),
make_frame_weights()