New function

- WriteSac is finished
- local function map_chdr_out and wsachead
- tests completed.