Modelling and control of thermal deflection in machine tool structures