Fast geometry transforms.

Closes #157.