Water Tree Analysis And On-Line Detection Algorithm Using Time Domain Reflectometry