Automatic Differentiation for ruby (mostly useful in JRuby)