fully working condor and matlab files

only thing that is still not working properly is the numerical Gradient