Fixes #23: Math is wrong.