Moved/renamed sample fn from general.clj to probability.clj