Implement basic computation of coordinates