Added setW, setX, setY, setZ, add and sub functions to quaternion.js