Implemented function to create ideal chi matrices