Added cholesky decomposition, generic matrixSet for dense and sparse matrices, normal distribution sampling