Fixed rounding bug.
Improved performance test output.
Fixed test.