fixed error in donut calc

 error caused by time's value changing from hours to milisec
wrong again on donuts, fixing(
donut issue was caused by longs having no fractional value