Removed invalid entry from misc_utilities cmake that caused warning
Fixed bug platecorner used incorrect variable for distance calculation
Fixed compiler warnings (signed/unsigned comparisons, unused variables)