Add make testloop
Attempt to do some useful math