update check_gradients to new parameters:
-  option to print visual plot or just report gradients with 0 values
- define full_directory for location of gradient file