bugfix: storageOffset is 1-indexed
Merge pull request #4 from soumith/master

bugfix: storageOffset is 1-indexed