solvetheleastsquareproblemAx=busingiterativemethod