--Bugfix when grad_option is changed
Version bump to 0.3.9
Regenerate gemspec for version 0.3.9