make transpose() const