Removed the reverse.levels parameter.
Added reverse.levels and fixed issue in recode function.
Added demos for these functions.