Calculate revolutions per minute