Automatic computation of bernard quadrant in the distal femur