Statistics for Use of a general imaging model to achieve predictive autofocus in the scanning electron microscope.