get_dist function

Get the probability distribution from a landscape object