This commmit includes the following: 1) API changes applied for edgeBoxes 2) Edgeboxes was crashing becasue of a confilct with the mex file from MCG, this commit has a hack to fix the crash.