method-FSres function

Generate the vector of the first stage residuals