Use long double time

Accumulation error can build up in the simulation time.
Mitigate by using a larger accumulation type.