how to calculate rpm of a motor to ball mill