Changed timeQuantum back to a double data structure.
Added function to convert timeQuantum to an integer millisecond value to pass to sleep routine.