Collision calculation improvements including testing for NaN and Infinity