Changes to matrix, added scale by vector to vector