You are right there were some unnecessary lines in my codes. I deleted them but that didn't make any difference in the runtimes. I tried to distribute the definition of d but that made no difference either. I tested it with Mathematica 9.0 and 10.0.1. Which version did you use?
I think per ParallelTable's doc page it should distribute the definition automatically because DistributedContexts -> Automatic is preset. Omitting d should not affect the performance.
DistributedContexts -> Automatic
d
In your ParallelTable version, you didn't distribute the value of "d". When I do that (and get rid of extraneous stuff in your code), the timing results for the 2 cases are nearly identical.