Minor spelling corrections and fix of the claimed outcome of the examples in the section on repeated parameters

Thinking about it, the better approach may actually be to leave the name of the method and the claimed results as they are, and just change the body of the for loop from

    result += arg * arg

to

    result += arg