updating potrf results after ensuring the use of a SPD input matrix.