get coordinate in N-dim space by N-dim size and line index
N-dim array of sizes by each dimension
index in 1-dim array
Retrurns: N-dim array of coordinates in N-dim space
See Implementation
get coordinate in N-dim space by N-dim size and line index