Fixed Difi functions. Modified and updated Vixen