Fix make_distarray.py.
Fix plot_distarray_protocol.py.
Partially fix pi_distarray.

Sum seems to be broken for boolean arrays though.
Fix julia set example.
Fix julia-set bench_dist.