Modified hartmann method for measuring wide-aperture adaptive mirrors