Make random number generators in TakeStep and MetropolisTest non-static

This addresses issue #15.
Some tests are changed for consistency.
Some "mc=NULL" are also removed.