derekovecs: fix gain clamping

https://github.com/karpathy/tsnejs/commit/2d62a1c4a04ffe1c9cc7eb74898aa35f3b1b8385
diff --git a/js/tsne.js b/js/tsne.js
index 57b3878..e125482 100644
--- a/js/tsne.js
+++ b/js/tsne.js
@@ -254,7 +254,7 @@
 
           // compute gain update
           var newgain = sign(gid) === sign(sid) ? gainid * 0.8 : gainid + 0.2;
-          if(gainid < 0.01) gainid = 0.01; // clamp
+          if(newgain < 0.01) newgain = 0.01; // clamp
           this.gains[i][d] = newgain; // store for next turn
 
           // compute momentum step direction