The Helmholtz Equation Least Squares Method