A systematic approach to transition moment calculations