Fixed some types and added an example using sizes and resource dimensions.
Merge pull request #67 from yoavweiss/gh-pages

Small fixes