get.sample was failing with one-parameter distributions

 such as the exponential. Simple bug fix to not use parameter b when it's NA