Add a Barycentre function for DegreesOfFreedom and use it to simplify the transforms.

Added a comment.