Added minima back wind method

and updated minima_background.
Tidied up extrema locator and moved some functionality from derived
classes into base class