changing type conversion in save_dg - now there is a copy of array (keyword argumend does not work for older numpy)