added docstring for cfindpeaks