dopar function

Interface for parallel computations