- update demo file
- correct error checking on type
- update readme
- update contributing