fix Kx * Kx.T to be positive definite and using eigh instead of eig
Commit just before spliting the development in 3 branches
The ability to save into mongoDB data base has been added