Fixed and reorg

Energy utils now own file
Fixed bug with linearScale calculation, so colors are normal
Tried setting up partials, failed, but committed anyway