Fix #109, define uniform.inv & test, Fix #108

Also added tests for previously untested uniform.pdf and uniform.cdf
functions. Additionally updated documentation for uniform.inv and fix #108.