Added legend parameter for changing title of legends.
Fixed labeling bug for neutral categories.