Added UniformMatrix functions.