Included functionality to allow for negative peaks
Small updates
Added a new function called
Smalle updates