Fixes #21. Previous way of calculating run time would overflow for longer planning times
Fixed calculation of rate estimate