First version of a class to correct for 3D Space Charges