Added copyright info for stats.h and stats.cpp