Minor additional bug fixes to make_noise.m.