mldr_from_dataframe function

Generates an mldr object from a data.frame and a vector with label indices