PHASIM, a sophisticated phased array antenna software simulator implemented in MATLAB 5.2