Little cleanup.
Little change so the scaling from image to sidescanline is done using the right swath range.
Still need to fix when calculating the center of the rectangle point in sidescan x points.
Added utility methods for converting point from image to sidescan line.