https://medium.com/@monocosmo77/working-with-galois-representations-part2-machine-learning-2024-44143735d056