added profile input validation
Merge branch 'master' of https://github.com/flowgrammable/flowsim