Added elapsedTime function to SDLWrapper