isSPD

To use the Cholesky decomposition rather than the LU decomposition the matrix must be symmetric and
positive definite. It is recommended that the decomposition algorithm checks for this during
calculation. Possibly the matrix could be assumed to be symmetric (to improve performance) but tests
should be made to assure the matrix is positive definite.