Computational modelling and visualisation of carbon nanostructures