Big commit

-Integrated G-Raphael library for pie charts.
-Second generations calculations are done. Maybe I'll change the text
later but the calculations are done.
-Third and fourth gen calculations are almost done. I think there are
some problems with the math but I'll check that later.