(test app) improve computation of initial velocity, though something still is not quite right…