Adding statistics

All regression functions into one single file 8.