removed extraneous material from rand_r
cleaned up license stuff