A bit hacky: peaks

The index was the last index in the array. I thought I rejigged it so
that the peaks would always be towards the centre of the image. Perhaps
not. Running calculations.