Characterization and validation of a Monte Carlo code for independent dose calculation in proton therapy treatments with pencil beam scanning. (26th October 2015)