sumArraycheck