fix bug in matrix vector taking offset in to account