Corrected bug with milliseconds per day
Removed unused imports
Corrected modifier order
Collapse "if" statements
Updated constant names