Added SamplePositionGenerator and UniformSamplePositionGenerator