pls add a BSD license to every new file, see CQuadraticTimeMMD