renamed functions and fixed path to hirshmuller bin