Added a check for cases when colmedians = 0