Calculation of relaxation times in nuclear matter