Depth still not working. AH-290

Need to find out how to calculate the depth for all the axes.