better plotting, modular algebra rocks

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>