Effect of scattering and contacts on current and electrostatics in carbon nanotubes | Synapse