drawSegment no longer goes apeshit when a1 and a2 are 0
added new stuff