Corrected error in bishop_corner_dist