Convert calcdeps script to synchronous execution.

Switching to a synchronous execution model doubles the speed of the script.
It now averages ~100ms locally instead of ~200ms.

Progress on #7.