Refactor the code that converts a transpose-matrix enum to a