public function hypot($x, $y, $z_ = null)
{
if ($z_ === null) {
return hypot($x, $y);
}
$sum = 0;
foreach (func_get_args() as $value) {
$sum += $value * $value;
}
return sqrt($sum);
}