Fixed return error with MATLAB call

MATLAB was returning values from the function, even though
it shouldn't have.