def _normalize_angle(degree):
    """
    Normalizes degrees to be between 0 and 360
    
    Parameters
    ----------
    degree: int or float

    Returns
    -------
    new_degree: float
        Normalized between 0 and 360 degrees
    """
    new_degree = degree % 360
    new_degree = (new_degree + 360) % 360
    return new_degree
