add HB radiation damage model (very rough extrapolation from HE raddam model) and recalibration
finish implementing HB recalibration
fix index bug in depth segmentation for recalibration
additional fix for prev. bug
Initialise pointer to null, otherwise it could delete random memory in the destructor
Merge pull request #6175 from mark-grimes/fix6059

Pull request #6059 with a fix to memory handling