Added backpropagation method to facilitate looping. Currently the only return parameter from this methos is the w - weights.