added gauss-jordan elimination as exception handling from cholesky