Fixes broken gradient algorithm
Adds handlers (wrappers) for fill values
Updates gradient to use fill values -99