def Dot_C3V(vec1, vec2):
    """Simple function for computing the dot product between two
    three dimensional vectors (index-able objects of length 3)."""
    return vec1[0] * vec2[0] + vec1[1] * vec2[1] + vec1[2] * vec2[2]