clustering and peak finding notebook