Algorithm for computing the moduli space of pointed Gorenstein curves with Weierstrass gap sequence \(1,2,\ldots,g-2,\lambda,2g-3\) Moduli space of semistable sheaves of rank 2 of Chern classes \(c_1=0\), \(c_2=2\) and \(c_3=0\) over the cubic of \(\mathbb{P}^4\) 