Minimizing Energy Consumption of Yarn Winding in Ring Spinning