Updated random function and edited absolute value function