Manage the addition of motor axis to txrm

txrm2nexus was not robust because it only managed a number of
motor axis of 30. Make it more robust and accept managing different
number of motor axis.