Calculation of Far-Field Radiation Pattern Using Nonuniformly Spaced Antennas by a Least Square Method