Update GenerateEquations.m