Added r's from benbangard

* Added gomc library support
* formatting
* added go routine count support
* Added benbangart's r optimizations
* moved filter to global (to reduce recompile counts)