N-dimensional coordinate system