Removing Ejml dependency and up to date with KMF