moved integrate to thx.math.Integrate
added reference to thx.math
added dependency on thx.math
removed KAPPA const and replaced reference with thx.math