Fixing latex formulas in documentation