Moved performance timer to a class so it can be used wherever testing is needed. Changed the way the calculations were done to work better and be reliable even to large time spans.