Implemented noise and smooth noise