Modeling C-based Nanotransistors