Fix angleBetween sometimes returning  NaN even for normalized vectors