A software package for the semi-automated crystal identification and spectrum analysis in multi-layer DOI PET systems