Changing mat*vec to vec*mat and including using statements on testing