Finished p1 and p2 analysis and graphing