Catch NoneType errors

If yards is a NoneType we need to catch a TypeError as well and set the value to 0 just as the ValueError does
Merge pull request #58 from front9tech/master

Catch NoneType errors