Calculates dt each frame; no longer reliant on a hard FPS