Merge pull request #16 from pstch/gen-coords

Gen coords