Integrated structure-control design of a three-axis milling machine