Amend path finding from previous commit
Amend path finding from previous commit

Due to moving that function, the path logic was wrong. This is
now corrected (for finding the matlab functions dir).

menpo/menpobench,menpo/menpobench,nontas/menpobench,nontas/menpobench,nontas/menpobench,menpo/menpobench