peakz calc changes

updated wrapper