Sample from a distribution (currently only implemented for a uniform distribution)
sample_from_dist(n, params)
n
number of samples to draw
params
distribution parameters