added quaternion to matrix and 4 x 4 matrix multiplication