Fail with an error message on misformatated operations

I used to not actually check to see if the correct number of operands
were provided for each operand.  This makes a check of that now.