Changed the variable name in normalize that caused an error.

The name of the variable was length, set to a function called length.
Upon instantiation, there was an error.