Updated version number for release 4.0.4
Fix issue #763
Updated NEWS for #763