Little corrections

LightManager: I prefer iterator.
Texture: functions return NzVector2ui, not 0
Algorithm: rewriting
Utility: correction