fixed the acceleration calculation.  Now also gives the option of returning m/s