Added Sampler Matrix support