<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _randomize_speed(base_speed: int, sigma: int = None) -> int: """ Creates a variation in wind speed Args: base_speed: base wind speed sigma: sigma value for gaussian variation Returns: random wind speed """

        if sigma is None:
            int_sigma = int(base_speed / 4)
        else:
            int_sigma = sigma
        val = MissionWeather._gauss(base_speed, int_sigma)
        if val < 0:
            return 0
        return min(val, 50)