Fixed error in code for function

Fixed error in code for function fMediationML within the code for the
simulation