get.sample was failing with one-parameter distributions, such as the exponential
Merge pull request #97 from mdietze/master

get.sample was failing with one-parameter distributions