A-Normalization: Why and How (with code)