Update Rejection Sampling.java