Calculate free energy surface by Bias Sum algorithm (generic function for 'metadynminer' and 'metadynminer3d')