public static double computeDelta(double slope, double prevSlope, double prevDelta) {
    prevSlope = prevSlope;
    return ((Logic.$LEARNING_RATE$ * slope) + (Logic.$MOMENTUM_TERM$ * prevDelta));
  }