working out unit tests and shape support.
Brought unit test coverage up to 100%. All shapes supported except for minor bug to be resolved for segments.