Added dieharder test.
Add uniforms function.