sample-model-params bug fixed

rate value extracted from 1x1 matrix as sample-gamma expects number.
Merge pull request #240 from Gerrrr/bug/sample_model_params

sample-model-params bug fixed