added transpose as data reorganization.