ENH: Modification in calculateRR function in chemistryModel