Application and performance of an ML-EM algorithm in NEXT