An improved scatter correction method for Cone Beam Computed Tomography