Splitup the CCA performance code so we can run experiments outside notebooks.