Implementation and test.
Nicer loop.
Fixed test and trace.
Move compensated summation to the end, adjust exit condition.
Testing overshoot.
Cleanup.
Fix.
After eggrobin's review.
Benchmark.
Moar benchmarks.
Empty line.
Merge pull request #156 from pleroy/Tmax

Add an option that makes it possible to ensure that the last point is exactly for Tmax; make sure that we never exceed Tmax