Rearranged final stats calculation and printing.
Transformed Pts in a object to be passed around

I've chosen reference semantics (hope that it is right), and changed the procs that use it to be object oriented style. Hopefully there is no negative speed hit from this change. Actually, passing pts as a parameter should improve speed... Well, needs benchmarking.