So this version works quite well with LAI, however it needs a serious clean-up and serious re-organisation of where transforms are done and how they are done
Example works on lAI