Function for calculating the pathway proliferation of flows in a network model through matrix exponentiation.
Details
This function was originally designed by Alberto Monteiro in the following R help thread: https://stat.ethz.ch/pipermail/r-help/2007-May/131330.html.