fix to MC check input function
Merge branch 'master' of https://github.com/pele-python/mcpele