What is generator Phase distance protection? what is theory and mathematical calculation behind it? please explain with some example.