This function uses the following argument for output:
B - On output, B is overwritten by the result of the least squares problem.
ier (Fortran only) - When called from a Fortran program, this function returns error status in ier.