added NaN test for ibeta
added doc in code for ibeta
Merge branch 'develop' into feature/test-nan-ibeta
Merge branch 'develop' into feature/test-nan-ibeta
Merge pull request #1006 from stan-dev/feature/test-nan-ibeta

Feature/test nan ibeta