Adding g:latex_select_math_lines and fixing bugs