implementing the matrix-vector multiplications for evals_arpack using intermediate vectors