face recognition working but big values of distance occuring