A new model for electron ranges in solid materials