network: added the normalization function.