Changes the high resolution timer to a system timer so that it would
work on windows... will add in a means to choose nano or millis
resolution later.