Merge pull request #19 from pstch/gen-coords

Gen coords