Application of the Trace Method to the Modified Korteweg-de Vries Equation