Peter Monk's contributions to numerical analysis and Maxwell's equations