Simplified one_to_scaleFactor. Note debug statements are currently left in, and open loop timings are off.