<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def projR(gamma, p):
 """return the KL projection on the row constrints """

    return np.multiply(gamma.T, p / np.maximum(np.sum(gamma, axis=1), 1e-10)).T