Model order estimation based on a method for computing distance to uncontrollability