Reuse curvature and gradient for gradient and energy in Energy classes
the gradient information is not reused for the computation of the energy itself.
Additionally, use memoization/caching. For this the memo decorator from nifty.energies can be used.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information