Missing file & some reverting of VOT2013 specifics.
Improved calculate_overlap function