Tunneling weighting matrices sparsity pattern to the CGT
Finished tunneling of weighting matrices sparsity patterns.

Tested only with getting_started example.
Fixed minor bugs in the CGT
Fixed CGT simulation examples