Finished experiment code clean up

Basically, we try to decompose complex code into separate pieces, so
that it is much understandable.

- Delete some debugging code to capture zero leakage plan.

- Remove nonbaseline count

- Fixed some bugs.