Handle 0 magnitude --kazu
DistToBoxWall takes care of dir vector magnitude being 0, handled by Andrzej's quick patch earlier, now handled. --kazu