Re-added additional midpoint formulas and Maple code