Use an array for greater flexibility

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

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