Barycentric rotating transforming iterator.

This change only moves code around without significant changes to the contents.
A remnant of some code that I didn't like.