Implemented detecarm and indexMax
Merge branch 'master' of https://github.com/dponce85/GuiSonar2.git