Added conversion tools for CGC and PBC