added NaN test for check_column_index
added doc in code for check_column_index