Computational Analysis of Transition Metal Doped Nanotubes and Their Application to Molecular Electronics