fix stylesheet gradient index for stroke and fill

fixes Issue #24
Merge pull request #34 from adobe-research/jh/bugfix

fix stylesheet gradient index for stroke and fill