Updated ArrayMath