Fixed bug in positive definite matrix calculation