moved environment to Walker class

it was a lot slower, because of the copying of Walkers in the Distribution class, so I changed that.