The heating of magnetic nanoparticles in a rotating magnetic field