add vector and matrix multiplication and tests