2-Axis optimization now works.
Added linux mex files for mathlink...