Algorithm for computing the moduli space of pointed Gorenstein curves with Weierstrass gap sequence \(1,2,\ldots,g-2,\lambda,2g-3\) Algorithms for computing intersection numbers on moduli spaces of curves, with an application to the class of the locus of Jacobians 