Cleaned up noise model script