Refactored TypeOfResultType to prepare for addition of new result type.
Merge pull request #102 from pfschwartz/develop

Refactored TypeOfResultType to prepare for addition of new result type.