Changed the way A plus B checks for the correct dimensions.