add functions to convert speeds between ticks per sec and RPM