Updated the demos to use the new random methods. added the new random methods. Closes #14