Let X.matrix.rotate also accept an array rather than a goog.math.Vec3.