Simple spring-mass engine simulation.