Cholesky method added, derivativ works now