Original Code

Code from Martin for functional mediation, bootstrapping and running
simulation from JASA paper
Renamed simulation file
Added path to functions on my computer