removed v from NewtonSolve and ThresholdSearch, using m.vpsi instead