Fixed rms.s to account for possible offset in names(nmiss).  Thanks: Larry Hunsicker