Bug-fixes: matlab and python side of updateAmpPhase

Get full path for python script in Matlab.

Exit properly and only load the channel library in Python.
Use regexp for strsplit in older Matlabs
Bug-fix: offsets are under channels.
Limit the significant digits in auto mixer optimize updates