Performs stepwise numerical integration of ``ys`` over the range of ``xs``. The stepsize of the generated histogram is controlled by DOSFingerprint().stepsize.
"""
iflen(xs)<2orlen(ys)<2:
raiseValueError('Invalid input. Please provide arrays with len > 2.')
xstart=round(int(xs[0]/(self.stepsize*1.))*self.stepsize,8)# define the limits that fit with the predefined stepsize