Audit and update code to use modern Python and CUDA conventions. Standardize function and class naming, improve type hinting where useful, and ensure code is internally consistent. Develop or update CONTRIBUTING guidelines to help maintain standards going forward.