formula to calculate counterweight in conveyors