remove unnecessary include
use omp function to detect threads count
make statistics nicer