changes to model 1

Fixed model 1 so that both X and M can be voxelwise variables. Also
added checks to see if the moderator (M) was dichotomous or not.
Added the ability to write out Model 1 results to images.