fast implementation of chain opt
fix gitignore
fixes and cleanups
plotting utils for full launches