Fixed spanX and spanZ calc

Put x1 and z1 in instead of x2 and z2
Now eggs move around better.