Imported some code from EEX Stereo main code

Imported engeDetector (corrected a bug)
Done some tirals on identifying 'good' edges