how does a milling machine work