Efficient Self Attention Formula