for (var p = 0; p < this.numberOfInputNodes; p++)
      newWeights[p] = this.weights[p] - weightAdjustments[p];