Algorithm for computing the moduli space of pointed Gorenstein curves with Weierstrass gap sequence \(1,2,\ldots,g-2,\lambda,2g-3\) Equivalence of the p-th component of the Chow ring and the cohomology groups in their \(K_ p\) 