Update to window_size_extract
Update to window_size_extract

Moved internal gaussian functions to top of method.
Added check of the length of the peak vector and case for a length less than 2
anugrah-saxena/pycroscopy,pycroscopy/pycroscopy