COOL: A FORTRAN-77 computer program for modeling stable isotopes in cooling closed systems