Added rotVec to matrix.js