Converting numerical factor to numeric