Beregning af sikkerhedsafstand fra