Interpolating moving least-squares methods for fitting potential energy surfaces: Detailed analysis of one-dimensional applications | Synapse