added link option for SSE
rewritten calculation of peaks with SSE and SSE2