prevPoint.yVal + (nextPoint.yVal - prevPoint.yVal) -- isn't that just nextPoint.yVal?