add small and big delta
Merge pull request #327 from maurozucchelli/gradient_delta

add small and big delta