solved the eqn, hacked armadillo, added Mortens programs in ref, create reasonable output