Noise Estimation deported as a function.