Update scripts, fix gradient arrows plot (several thresholds), add 3D stuff for plot