This function generate set of hyperparameters when the individual ranks are the same
parameter.set.rankA_eq(G, maxrankA, maxrankJ, gamma.list)A list of hyperparameter candidates
number of groups
The maximum rank for individual component
The maximum rank for joint component
The list of candidate gammas to be tuned