MDA might almost be ready to use.
Add an average image calculation when peaks are cropped