The irene library for NEXT MC