implemented smoothen function and removed jfreechart stuff.
#3