- use MathSpecial::square(x) instead of pow(x,2) for improved precision and handling of small and negative numbers - remove unused include statements - no need to refetch the compute in every step. during init() is sufficient
The right file with the cpp code