Fix ScalarProjectionOnto to use correct vector magnitude.