restrshapeExact computes constrained Gamma (shape) matrix with exact constraints.

The purpose is to generate a constrained shape matrix in such a way that the maximum ratio between the largest/smallest element of each column is equal to shw and the maximum ratio between the largest/smallest element of each row is equal to shb. Finally the product of the element of each column is equal to 1.