Parallelized the curve generation, now it uses the multiprocessing module to calculate each point on the curve concurrently.