Added two alternate (and faster) methods of aperture calculation