R/calculate_intensity.R: Removed deprecated functions and added missing comments

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>