Added get_precision() and get_covariance() and associated testing