Matlab Functions for Pathway Specific Cost Modelling