Build kinetic function

buildKineticFxn(ensemble, kineticFxn, strucIdx)

Builds kinetic model .m file that is used to actually run the model.

USAGE:

freeVars = buildKineticFxn(ensemble, kineticFxn, strucIdx)

INPUT:

ensemble (struct): model ensemble, see buildEnsemble for fields description kineticFxn (char): name of the kinetic function strucIdx (int): ID of the model structure

OUTPUT:

freeVars (char cell): [TODO Pedro] written .m file with the model