implemented remove hosts from matrix rows command