Application of Wavefront Sensorless Methods to Shack-Hartmann Patterns for Wavefront Reconstruction