Fixed Latex Compilation