Simplify logic in matlab_magic.py.
Simplify logic in matlab_magic.py.

blink1073/python-matlab-bridge,arokem/python-matlab-bridge,blink1073/python-matlab-bridge,jjangsangy/python-matlab-bridge,jjangsangy/python-matlab-bridge,blink1073/python-matlab-bridge,arokem/python-matlab-bridge,jjangsangy/python-matlab-bridge,arokem/python-matlab-bridge