Feature/issue 891 check cholesky factor nan

#### Summary:
Added NaN test and doc in code for check_cholesky_factor.

#### Intended Effect:
Added NaN test and doc in code for check_cholesky_factor.

#### How to Verify:
Run test/unit/math/error_handling/matrix/check_cholesky_factor

#### Side Effects:
None.

#### Documentation:
Added doc in the code.

#### Reviewer Suggestions:
Anyone.