Modifies aspect ratio comparison to allow for a tolerance.