Add tools/.
This contains some simple programs to process models. rotate_bar is
used to rotate bar1 and generate corresponding bar1.dmat.