RF: removed unused parameters from compute_energy_ssd 2d and 3d