A machine learning method for fast and accurate characterization of depth-of-interaction gamma cameras. (17th October 2017)