A weighted corrective fuzzy reasoning spiking neural P system for fault diagnosis in power systems with variable topologies