added NaN test for check_nonzero_size
added doc in code for check_nonzero_size
Merge pull request #924 from stan-dev/feature/issue-891-check-nonzero-siz-nan

Feature/issue 891 check nonzero size nan