A systematic approach to the development of echelon matrices for dimensional analysis