I went ahead and used the transpose as it is clearer, although not the same. Made a few other changes.