Finite-element Simulation of Viscoelastic Fluids of the Integral Type