A function subprogram in order to calculate the matrix elements of rotation operators - CPC, Mendeley (Mendeley, 1985)