code: private static double getResetVal(double unpenalizedScore,
  			double nResFromMainDiag, double[] gradientPolyCoeff,
  			double gradientExpCoeff) {
  
  		if (Double.isNaN(unpenalizedScore))
  			return 0; // what else?
  
  		// We can actually return a positive value if this is high enough
  		double updateVal = unpenalizedScore;
  		updateVal -= gradientExpCoeff * Math.pow(Math.E, -nResFromMainDiag);
  		for (int p = 0; p < gradientPolyCoeff.length; p++) {
  			updateVal -= gradientPolyCoeff[gradientPolyCoeff.length - 1 - p]
  					* Math.pow(nResFromMainDiag, -p);
  		}
  		return updateVal;
  	}
docs: Returns the "reset value" for graying out the main diagonal. If we're
  blanking out the main diagonal, this value is always Integer.MIN_VALUE.
  <p>
  This is possible if {@code gradientPolyCoeff = Integer.MIN_VALUE} and
  {@code gradientExpCoeff = 0}.
  
  @param unpenalizedScore
  @param nResFromMainDiag
  @param gradientPolyCoeff
  @param gradientExpCoeff
  @return