Added labeldecode

Added a labeldecode function to map back to discrete labels back to the original label.