R/calculate_intensity.R: Changed tabulations for 4 spaces and changed lines greater than 80 caracters in functions documentation

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