hcell2xyInt function

Change cell ids to 2d integer coordinate system