Working on fiber endpoint algorithm

Put fiber end points into object structure. Need to thoroughly test that
all other functions still work as expected.