Making vmat shared allows us to look at it as a file and also run the calculation on a computer with too little ram but enough harddrive