 
 /**
 Return a random integer greater than or equal to min and less than max.
+
+    let x = random(10,20)
 
 :param: min The lower bound
 :param: max The upper bound

Converts radian values to degrees.

Uses the following equation: value * 180.0 / PI

:returns: A double value representation of the radian value in degrees.
*/


Uses the following equation: value * PI / 180.0

    degToRad(270) = 3*M_PI_2 (4.712...)
    degToRad(360) = 2*PI (6.283...)

:returns: A double value representation of the degree value in radians.
*/
public func degToRad(val: Double) -> Double {
