Calculate free energy at given point in the CV space (generic function for 'metadynminer' and 'metadynminer3d')