Added intersectplanes.m and itree.m from the references which are used in lineMatching.m. Other minor changes as well