Added a lot of functions in the SDIF library