Algorithm implementations in Matlab from the book "Combat Modeling", A. Washburn, M. Kress, Springer (2009)