def scale(coord_paths, scale_factor):
    """
    Take an array of paths, and scale them all away from (0,0) cartesian using a
    scalar factor, return the resultinv paths.
    """
    new_paths = []
    for path in coord_paths:
        new_path = []
        for point in path:
            new_path.append( (point[0]*scale_factor, point[1]*scale_factor))
        new_paths.append(new_path)
        
    return new_paths