simdarray: implement & test horizontal sum

refs #613

Signed-off-by: Matthias Kretz <kretz@kde.org>