Improved matching
Added isodata algorithm