Speed up LieGroups with inline functions.