A Shape Calculus for Biological Processes