Nano electro mechanical systems with single walled carbon nanotubes as functional elements