Refactor params. Add validation. Fix specs
Merge branch 'master' of github.com:igorkasyanchuk/iGrads