Improve ctdbp transforms

fix 2 problems in L1 transform, add logging to debug remaining issues