added macro to convert chr vars to num vars like destring in stata