Eliminated 0s from matrix