Adding in interpolation for sampling