Fixed directory creation bug in MIC code

Changed where in code the result folder was created to eliminate
directory creation error messages.