changed object finder to compute orientation of object