Use vector_math for transform operations.

Fixes issue #20.