added NaN test for check_std_vector_index
added NaN test for check_vector
added NaN test for check_lower_triangular