R/calculate_intensity.R: Corrected an error in parseBamFiles interface

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>
R/calculate_intensity.R: Added the scaledVectors function

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