for(int segNum = 0; segNum < numSegments; segNum++) {
g.setColor(colorForSegment(segNum));
TimeDist[] data = (TimeDist[])segments.elementAt(segNum);
for(int i = 0; i < data.length - 1; i++) {
g.drawLine(centerX
<BUG>- (int)Math.rint((outsideRadius - data[i].depth)
</BUG>
/ 2) * scale),
centerY
<BUG>- (int)Math.rint((outsideRadius - data[i].depth)
</BUG>
/ 2) * scale),

for(int segNum = 0; segNum < numSegments; segNum++) {
g.setColor(colorForSegment(segNum));
TimeDist[] data = (TimeDist[])segments.elementAt(segNum);
for(int i = 0; i < data.length - 1; i++) {
g.drawLine(centerX
- (int)Math.rint((outsideRadius - data[i].getDepth())
/ 2) * scale),
centerY
- (int)Math.rint((outsideRadius - data[i].getDepth())
/ 2) * scale),
