Error correction in kdvMisc.cSoliton