change around theta x and theta y!!!!! it works!!!!!!!!!!!! thanks @blankflash for telling me how to fix this!!!!!!!!!!!!