Renamed split_dataset to split
Added default split ratio
Renamed variable for consistency
Fixed NNIndex, now returns a list of lists of k tuples (im_id, x, y, dist)