Fixed recently broken gradient code
It turned out that "repeat" was already a property of String.
I renamed some variables and did minor cleanup.
Merge pull request #16 from concord-consortium/gradient-fix

Fixed recently broken gradient code
Added image on bond conversion test interactive
It'll work once the pull request for image-on-bond is merged into lab.