shortened the standardizeTypes function
Merge pull request #3 from davidyorr/master

shortened the standardizeTypes function