Title: Theoretical Investigation of Transformer Design