C++ Physics Engine with CUDA integration