Merge branch '28-matmult-na' into 29
cleanup uses of Rboolean when may have NA_LOGICAL
Merge branch '29-cleanup' into 30