Fixes #2

Defined parameter-checking functions.
Each is dedicated to a given wrapper function.
These checking function should be named paramCheck<calling function>.