Discretization of Toroidal Soliton Equations