matadd/matmul: fix doc and unittests

Signed-off-by: Thomas Hisch <thomas.hisch@ims.co.at>