Version 2.0 2019.06.19
Fixed divide by zero error which sometimes happened on initialisation