Fixed a small error in the aI method.