Fixed Connect Function for MTE

Believe that the function properly works now just need to add
functionality for calculating the energy consumed on an MTE based
network.
Making Code!_!

Made the code look pretty~!~!~!~!