Added latex formulas to the documentation