fps function added

changed the awkward ms timing scheme to an FPS approximation.