fct2num function

Allows conversion of factor to numeric values preserving original levels