jcl, this is amazing news! Thank you for implementing capital reinvestment!
I hope there will be a parameter to decide which power of the returns to reinvest.
For instance, the default setting could be "1/2" for reinvesting the square root of returns. But please allow for the option to adjust it:

Instead of
Code:
sqrt(...)



Use
Code:
pow(...,P)



where P=0.5 initially and can be changed by a slider.

Do you think you could make that happen?