Methods and sensors for accurate wavefront measurements