Mass-Spring System with Controls