def SplitCoordinates(xyz_str):
    """
    Function to split coord. str in float list
    xyz_str: (str) a list input of "x,y,z" coordinates
    """
    xyz = []
    for i in range (len(xyz_str)):
        x_,y_,z_ = xyz_str[i].split(",")
        xyz.append([float(x_),float(y_),float(z_)])
    return(xyz)