Got it working

Gaussian's tips wern't close enough that was the problem!!
createAVI.m uploaded - run in matlab in same folder as output files.