Making clamp() return a value and adding SDL_framerate from sdl-gfx
Fixing timestep