ongoing work on using the kmpfit package.