Fixes #23: Math is still bad.