pymptk: support CMP as well as MP decomposition