Pulled out prepdf into a separate code file for each figure and stats code file.