Homologation techniques to synthesise pharmaceuticals