Bugfix in ncdf-siesta module, .nc was created before dhscf_init
Now the mesh gets written correctly, i.e. after the grid size has been setup. This is now done in dhscf_init which is the only place where ntm is changed.
Also amended two missing deallocates (which is primarily needed for older intel compilers)