Function stateIndexToCoord

""