fix up segment correction code to use exponential instead of geometric correction.  add some test code to dpBenchmarkto validate this