Let notebook reproduce metafeatures.py and patterncoordinator.py exactly, use new export magic, cleanup