Cholesky factor should always be Triangular.
Merge pull request #6821 from simonbyrne/cholesky-tri

Make Cholesky factor always be Triangular. Fix odd transpose bug.