Fixed bug where subprocess.check_output is not available on Python 2.6.
Modified MATLAB test code to reduce output.