create a simulation based on old simulation code
updated the functional mediation function

Added functional parameter for intercept. Eliminated the code for
instrumental variables.
changed bootstrap to be serial