Initiated and added code for fMediation_ML

Initiated the simulation, and added function to perform functional
mediation analysis