Added switch to deal with data with missing information (i.e. completely empty columns or rows)