added basic input array type checking
Merge branch 'master' of github.com:iskandr/shiver