Fix precision issue that led to nan values. This fixes #1934
Fix precision issue that led to nan values. This fixes #1934

OpenSpace/OpenSpace,OpenSpace/OpenSpace,OpenSpace/OpenSpace,OpenSpace/OpenSpace