Cleanup secondary peak calculation
v0.10.6