Text this: Mathematical Modeling of EDM Method of Water Purification