Minor code issue fixed

missed a yValues[i] in the approximation portion.