Fixed transpose -- thanks to Sowon Kim <mogyak@gmail.com>