Bugfix/sparklines

Our sparklines are now really fast!

This was impacting another story I'm working on so i've fixed it and added some tests.

![](http://media.giphy.com/media/bTMzzPaOABxzG/giphy.gif)