Move some math around.
Merge remote-tracking branch 'origin/master'