Have a look through this article, the info in it allowed me to get the mesh and levelling / zero system working properly on my build.
https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation
Be very careful to follow the exact sequence for the initial probe setup and length offset measurement for that.