irregular grid sampling

added demo for irregular grid sampling
(+bug removal)