IPCA and CCIPCA

WIP - I expect some more work will be required before this can be merged wanted to make a PR now to get some feedback