Final version. Fixed bugs in both P2 and P3. Together with the gnuplot plot commands and data for 3f