Indexing bug fix, changing output of noise_estimate