Still not fixed, but added better image covariance calculation