Error found in CalcSPrime, line 24 of vel.cpp after adding points. Check
flags!