Numerical Distance Protection: Principles and Applications