GannetSegment initial upload

GannetSegment and the associated function callspmsegmentation. Not
fully tested.