Tweaking and additions

Tweaked TPAControlSegment, BoxToPoint and BoxFromPoint
Added TBAFromTPA and TBAToTPA