Simulation of Charged Particle Ranges in GEANT4