A multiphase flow model of calcium induced morphology changes in true slime mold