Magnetic Communication through Functionalized Nanotubes: A Theoretical Study