Change method used to escape Matlab programs when using the MATLAB_ESCAPED_STUDENT_ANSWER. It must now be used in the form sprintf('{{MATLAB_ESCAPED_STUDENT_ANSWER}}');  This was necessary to handle newlines, tabs, returns and embedded '\n' strings in a consistent manner.