Simple math calcs and unit tests.