Algorithms for Using Some Models of Gel and Glass Effects in Free-Radical Polymerization of Methyl Methacrylate