Added compatibility for parallel computing toolbox