fixing vector construction in matrix-free multiply