improved velocity statistics
little bug fix with openmp