added failing nan test for check_unit_vector
fixed check_unit_vector
added doc in code for check_unit_vector
added NaN test for check_cholesky_factor_corr
added doc in code for check_cholesky_factor_corr