calculate_intensity.R: changed the name of the 2 main functions

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