bec: removed unused dtype parameter from HarmonicPotential