fixed read_data_file to properly read in Tipper, Z and compute pt and z_invariants