Fixing scaleTo1() and re-implementing draw()

* Now scaleTo1 method used integral including underflow and overflow to normalize to 1.
* Reimplemented draw to fill legend entry only for key matched plots