fix vector angle functions possibly returning NaN