Text this: Wavefront Sensor for the Determination of Nanostructured Surface Defects