Fixed some small errors on MarkovGenerationLayer