Added rotX, rotY and rotZ functions to matrix.js