Proton loss model for therapeutic beam dose calculations