added base header with matrix-vector multiplication