Added FPS function to SimulationView.