Moved and renamed trackbars for transform2.

on_trackbar4 = houghAccumulatorTrackbar
on_trackbar5 = houghMinLenTrackbar
on_trackbar6 = houghMaxGapTrackbar

Moved trackbars into the transform2 function. Trying to move function
calls out of main so that classes can easily be made.