Added the Integral

I've added the integral. There are two things I couldn't do. The first is the writeXML function. The second is that I couldn't get it to calculate an integral. I've added two TODO's for these things, maybe one of you guys can check what's wrong.

Signed-off-by: bvanr <henkibrij@hotmail.com>