Quite a lot of functions in the package need more checks whether the inputs given make sense for the function.