Fix use of CSE in tests (WIP)
Put fast CSE functions inside cse_main.py (WIP)
Put fast CSE functions inside cse_main.py (WIP)
Reorganize CSE functions (WIP)