Optimization of the Track Reconstruction Algorithm in a Pixel Based Range Telescope for Proton Computed Tomography