For got to comment out print statement in mex function.