On the Hilbert scheme of curves of degree \(d\) and genus \(\frac{(d-3)(d-4)}{2}\) On osculating cones and the Riemann-Kempf singularity theorem for hyperelliptic curves, trigonal curves, and smooth plane quintics 