Reference: #20
By @maikherbig:
Inerita Ratio has no rotational invariance, which is especially a problem, if we want to use it for reservoir measurements. Rotational invariance is no problem in the channel since cells are aligned by the flow anyway, but the slow flow in the reservoir is not able to align all cells. The principal seond moment of area has rotational invariance. To compute it, the contour is rotated such that the second moment is maximal in x direction and minimal in y-direction.
The code for alignment is part of this commit: fd14c30