Added C function for testing Bruvo's distance.