* fixed m/r bug in gatMaxIndex() method.