Creating my own phugoid trammel code