matadd/matmull fix unit and doctests