changed the peakCalling method. It still needs more work