Returning xer, density.er etc. for only vector of length n.integrate
(1000 by default)