Add an option for printing optimized llvm code
Remove some TODOs
Factorize GammaMap