Helper function for parse.getdata.
    Remove empty variables, convert strings to float

    args:
        inputlist: list
            List of Variables
    Returns:
        ouput:
            Cleaned list

def cleandata(inputlist):
    """
    Helper function for parse.getdata.
    Remove empty variables, convert strings to float

    args:
        inputlist: list
            List of Variables
    Returns:
        ouput:
            Cleaned list
    """
    output = []
    for e in inputlist:
        new = []
        for f in e:
            if f == "--":
                new.append(None)
            else:
                new.append(float(f))
        output.append(new)
    return output