declare variables
Clearer ind var
Update full gradient profiling