Added function to compute the dimension of a root system. And a test that semisimple and root system dimensions are the same.