Refactored cholesky method and changed name of is_symmetric? to symmetric?