The program is now reading in skeletons correctly i think