Finite difference discretization of the cubic Schrödinger equation | Synapse