Fix out-of-bound memory issue in internal array transpose function
Fix out-of-bound memory issue in internal array transpose function

stcorp/harp,stcorp/harp,stcorp/harp,stcorp/harp,stcorp/harp,stcorp/harp