Split out scaling functionality from drawLines(). Created new method
scalePoints.