Many changes to BIUTEE and other projects

1. Add "hybrid gap mode" to BIUTEE.
2. Add collapse mode to BIUTEE.
3. Improve PASTA code.
4. Improve BIUTEE code.