function tweaks

updated the factor conversion function…