ENH/BUG: update default threshold for _compute_rank

@agramfort @Eric89GXL @mluessi FYI
what is the reason for this unorthodox nested import instead of a global one?