Algorithm for computing the moduli space of pointed Gorenstein curves with Weierstrass gap sequence \(1,2,\ldots,g-2,\lambda,2g-3\) Local moduli and singularities. Appendix (by B. Martin and G. Pfister): An algorithm to compute the kernel of the Kodaira-Spencer map for an irreducible plane curve singularity 