A spline-fitted potential surface for bent triatomic molecules