Nanoelectromechanical Switching With Single Walled Nanotubes