Changed solver from 'dense_cholesky' to 'cholesky' to eliminate deprecation warning.