C code for calculating the energy loss of heavy ions in matter.