Added noise simulation to verify correctness of noise estimation