A general method for constructing multidimensional molecular potential energy surfaces from ab initio calculations | Synapse