Added subroutines for calculating x and y coordinates
Added x-axis labels

These aren't very useful right now. Need to place them smartly, and
allow reference labels instead of just values.