Measuring the Distance Between Two Surfaces