The Theory Of Magnetic Tunnel Junctions