cache friendly square matrix transposition