A numerical inversion of Laplace transforms