Multi-Layer Self-Organizing Networks based on Habituation