sample_volume function

Sample the parameter space