modifications to enkf to create images and modified make_finite_cov_matrix to  have positively definite blocked form