AimUtils updated, with changed functions for arrays