peaks.points.removeAll() method

And improved the segments.removeAll() one.

Unit tests are now faster as the peaks instance is not destroyed after each test.

closes #76