Reconfigurable machine tool design: Theory and application.