changing noise calculation in course 7