added transform script file to help debug and find the right order of matrices