This function deletes those columns and/or rows in a matrix/data.frame that only contain 0s.
Useful links