Added code to read in g prime for the PBC case