Added fromArray and toArray to Quaternion.