NA replaced by 0 in output

NA is not really correct and may cause plotting problems