Pre slice change

This PR is a re-factor to ```_peak``` that moves the collapsed array slice to the start of the routine.