Added function to convert 1 label to its desired output value

in extract_data