Added EqualVerticies function.