Squaring and tramming the machine can be a maddening, tail-chasing thing.
Best to start with large and work towards small:
- level table
- adjust feet to level endplates and Y-axis rails
- ensure X-axis rail is level, plumb and square
- adjust carriage to be square to X-axis rail and plumb and square