peak-finding added to helper.py