added function to get amb_kf_cov