efficient transpose for BandedMatrix