Add utility for calculating box properties

We are doing inner width and height calculations all over, a utility will clean things up a bit.
I like that the magic shared constants are gone, but somehow I'm worried that the boilerplate got longer. Maybe if sparkline could return its box/dims that would make things simpler?