You Need to Pay Better Attention: Rethinking the Mathematics of Attention Mechanism