Development of a new TPS kernel for hadrontherapy