refactor gradient model selection framework
Merge pull request #1640 from votjakovr/feature/gp_refactoring

Refactor gradient model selection