wrote VecTimesI function using scatters