A method for determining the relative motion of a surface with respect to a measurement device comprising: illuminating the surface with incident illumination; detecting illumination reflected from the surface to form at least one detected signal; and determining the amount of relative motion parallel to the surface from said at least one detected signal, characterized in that said determining includes correcting for the effects of relative motion perpendicular to the surface.