what are the functions of milling machine