Morphology, Cell and Segment code working, wrote a test program to check.