First ejml implementation