Efficient Algorithms for Realistic Lens Effect Simulation