Toward the development of a fully CMOS Single-Photon Detector for PET systems: a Montecarlo simulator as an optimization tool to support the sensor design