Removed unique functions

Removed unique functions as they do not work with gfortran.