ran imput files and also added the volume averaging ability