Distances run faster without openmp and with the gcc compiler. Modified the stats to catch an argument for most of streamwise variables.