transpose of reference slices now returns correct values

This resolves issue #220