All I did was turn MATLAB on (the true/false flag in brainsearch.py)
Made some more edits. Of note, I think the only thing I lack from DF's .mat is the VTK header info (pixel number and spacing).
Merge branch 'master' into local
Merge branch 'master' into local
This iteration of 'fast_temp*' is ready for testing (I don't expect it to work, but I don't know what it's missing).
I corrected some errors in 'fast_temp*.m' by running one iteration (i.e. reading one 'TmpDataInput.mat' file and returning one objective function). My corrections: DF was sending some numerical data as strings and some as numbers. The strings I used MATLAB's function 'str2num'. Those numbers passed to me were recorded as singles that I needed to make doubles because of precision concerns. Finally, I had some path issues I needed to correct.

I think that the script could work now