Method of moments analysis for antenna arrays with optimum memory and time consumption