def scale_vec(vec, scale = 0.1, dimensions = 2):
    """ Performs a scalar multiplication of a vector """
    scaled_vector = []
    for d in range(dimensions):
            scaled_vector.append(vec[d] * scale)
    return scaled_vector