fixed bug in time_delta calculation for scheduling jobs; changed int to float.