runtimewarning: covariance is not symmetric positive semidefinite