Use input_name_cols to determine name col length

Fixes #92.