replaced erand48 to xorshift. considered thread safety for random. fixed a bug of area light.