Calculating the RPM for your machines