make_sd_matrix function

Create a quadratic form's matrix to represent a successive-difference variance estimator