Andrew cleaned up some of my code.
updated some variables for better AI movement