TLDR: Vectorize and eliminate redundant calculations. Rewriting most of your code gave a 400-500x speed up
Also, use functions and name your variables in ways that people can read
The code in ParticleFlow, ExplicitEuler, and Integrate was well organize but slow and hard to follow. The variable names were cryptic. They get repeated ...