Modified Features to store the funit, frep, and ftype as global variables, allowing for a more robust use of the module