added multiplication by scalar to vector

see #352