Understanding the Physarum Simulation