fixed check_cov_matrix_test in agrad/rev