The random time generation code for failures now not hardcoded. Can also
now create times where time to run for is less than an hour. In previous
commit the weighting of rerouting flows following a failure was also
resolved from being hard coded.