Adding rotation matrix for ellipsoid.  Needs testing.