Added new cuda modules, and improved the parallelization