Maths...

Well, looks like I need to start writing tests. Really should be working
most of this math out on paper, but I fear I have too much programming
in my head. I keep seeing bits when I need to see math.