miAnalyze function

Takes multiply imputed datasets (as generated by the extract_MIdata() function) and runs an analysis function on each of them.