added tests; refactored vector
added vector-by-matrix multiplication