Bug in adding noise fixed