JTC: added checks on nan and inf.
More robust handling of zero velocities
Fixed left_arm .ini file