def triple_prod(vec1, vec2, vec3):
    """ Triple cross product (vec1 x vec2) x vec3.
     
    PARAMETERS
    ----------
    vec{1, 2, 3}: Vec
    Vectors for triple cross product. Order is important
    """
    cross_vec = vec1.cross(vec2)
    return cross_vec.cross(vec3)