Nonlinear Waves and Solitons on Contours and Closed