Corrected the flipping of fibers.

Fixes issue #95.