A Systematic Approach To The Self-Organization Of Heterogeneous Sensor Networks