how a milling machine works