fixed check_simplex and added NaN test
added doc in file for check_simplex
Merge pull request #897 from stan-dev/bugfix/issue-896-check-simplex-nan

fixes #896. fixed check_simplex and added NaN test