Array mean utility