extra key/value type checks in compute() and bulkCompute() methods
Merge pull request #141 from timeck/someExtraChecks

extra key/value type checks in compute() and bulkCompute() methods