Positioning update

Updated the positioning equations, and updated the output to output
coordinates.