switch for suppressing parallel operation added to compute_nn* functions along
with kernel_bandwidth_mean