EnLossInTarget: geometry calculation algorytm has been coded