Modeling temperature distribution for magnetic nanoparticles in a spherical tumor