Added ability to specify random number generator seed for stochastic behavior

I am using this for benchmarking and I want to set random joint values but get the same sequence every time, so I set the seed to some unchanging int.