Transpose now supports allow.

Closes #251
Merge remote-tracking branch 'scalanlp/master'