change to ejml
only positive definite matrix