batchDistance, calcOpticalFlowPyrLK and kmeans now use new 'parallel_for...