the Z axis is now snapping correctly...now to implement the x and y axis snapping.