Includes capacity to do external latex editting as required for fig 5