fixed htod not working with numpy scalar types
Merge pull request #4 from palicand/fix-numpy

fixed htod not working with numpy scalar types