Improved Phased Array Radar/Sonar Simulation