Oops! You are right about it being the derivative and not integral :) In my mind I had it backwards. Will fix that in the next patch.