Text this: On the determination of the intramolecular potential energy surface of polyatomic molecules: Hydrogen sulfide and formaldehyde as an illustration