Moved all vector-matrix operations into the corresponding matrix header file in order to avoid circular dependencies.