Theoretical methods for the calculation of Bragg curves and 3D distributions of proton beams