Algorithm for computing the moduli space of pointed Gorenstein curves with Weierstrass gap sequence \(1,2,\ldots,g-2,\lambda,2g-3\) Continuous detection of the variations of the intersection curve of two moving quadrics in 3-dimensional projective space 