Now uses set of enabled joints to limit commands that can be produced. Added test to check only enabled joints used. Updates translator test code to re-use joint sets and did some minor reformatting