Investigation on fault analysis of power system components using matrix methods and development of microprocessor based fault diagnosis and protection schemes