Theoretical and numerical modeling of linear and nonlinear propagation in graphene waveguides