Feature/issue 891 check spsd matrix nan

#### Summary:
Added NaN test and doc in code for check_spsd_matrix. This should not be merged before #905 and #908.

#### Intended Effect:
Added NaN test and doc in code for check_spsd_matrix.

#### How to Verify:
Run test/unit/math/error_handling/matrix/check_spsd_matrix

#### Side Effects:
None.

#### Documentation:
Added doc in the code.

#### Reviewer Suggestions:
Anyone.