KAZE library modifications