Go now checks for invalid parameters passed to it, fixes #29 FOR MASTER BRANCH ONLY