NaN issue, two point selection

Signed-off-by: maxkoenig <max.koenig@npolar.no>