fIntegratedDensity

added class with integrated density to speed up the calculation