Changed error messages, change logic signs for row and column sizes