add cols_to_factor function and update nonmem_report documentation