Fixed an error in the Noise class

I copied some code but missed the return statement.