ignore case in headers

Changed header check so different cases (e.g., NCOLS vs ncols) are
allowed.