Added GCM Error Param Checking

Fixes #78