reoxgenize doco and add na.rm and inf.rm