Fixed the GRSQ = -inf for iteration 0 bug