Fixed bug where undefined question type not be detected. Added Matlab-compatible escaped student answer field to template processing.