docs
fix transpose bug for high-dimensional matrices