Text this: Mathematical Modeling of New Algorithms for Single-Phase Earth Faults Protection in a Compensated Electrical Network