four axis ecm machine and method of operation