Fixed bug with negative values for the variance in GP regression

And also replaced Lapack/BLAS calls by Eigen3.