fix bug in WrapArray transpose method.