Looking for the ideal partner or wondering if your relationship will last? Hannah Fry, author of The Mathematics of Love, says three things make the magic formula.