Missing a transpose after refactoring