Advanced Optimization Techniques For Monte Carlo Simulation On Graphics Processing Units