Modified drawTicks function to include ticks, along with number labels at each interval. Code is a bit sloppy.