fix hypot issues, add comments to tests from tracking this down