Changed the way LocalTimeScale is calculated.