Renamed one instance of parameters to weights.

Most of the references to parameters/weights are correct.
parameter = arguments to a function
weights = weights in a neural network