Validate params
Merge pull request #8 from eeddlau/validate_params

Validate params