Removing some old commented out code. Also working at debugging odd issue.
Found edge case around standard deviation being 0.
Fixed up tooltip. Also working on debugging issue with code.coffee.
Some comments. Found spot to add number check.
Fixed up setting value to 0 if standard deviation was 0.
Some changes.