Numerical solution by iterative methods of a class of vintage capital models