Added check for #bands * #rows = n