Text this: Simulation of beam propagation in second-order nonlinear optical media