Novel data analysis method for obtaining better performance from a complex 3D-printed collimator