Models for the dynamics of interacting magnetic nanoparticles