Fixes to write_den copy-errors
Added in nu_write_vel flag to non random bits